em.onestep. e.step.dmat is a ddmatrix version of e.step.
e.step(PARAM, update.logL = TRUE) e.step.dmat(PARAM, update.logL = TRUE)
Z.spmd, W.spmd.rowSums,
W.spmd, U.spmd,
and Z.colSums. These can be solved by rescaling the range of exponents carefully
and adjust the scaling factor on the log values.
See CONTROL for details about constrains on E- and M-steps.
K components, and update the Z.spmd matrix.
If the update.logL is true, then the log likelihood
W.spmd.rowSums will be also updated before the end
of this function. Sum of W.spmd.rowSums of all processors will be the
observed data log likelihood for the current iteration.
Programming with Big Data in R Website:
set.global,
em.onestep,
m.step.# This is a core function for em.onestep()
# see the source code for details.Run the code above in your browser using DataLab